filename = "pg74854.txt"
try:
    with open(filename, 'r') as file_object:
        contents = file_object.read().lower()
        word_count = contents.count('the')
        print(f"单词'the'在该电子书中出现了 {word_count} 次。")
except FileNotFoundError:
    print(f"哎呀，找不到文件 {filename} 呢，请检查一下文件路径是否正确呀。")